package cn.jjxx.modules.pb.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.pb.mapper.PbSexRateMapper;
import cn.jjxx.modules.pb.entity.PbSexRate;
import cn.jjxx.modules.pb.service.IPbSexRateService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 男女比例
 * @Description: 男女比例
 * @author TianShixi
 * @date 2021-07-23 15:24:59
 * @version V1.0   
 *
 */
@Transactional
@Service("pbSexRateService")
public class PbSexRateServiceImpl  extends CommonServiceImpl<PbSexRateMapper,PbSexRate> implements  IPbSexRateService {

	@Override
	public boolean insertBatch(List<PbSexRate> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<PbSexRate> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
